#include "adc_app.h"

uint32_t adc_buffer[30];
float adc_value;
float adc_value_ref = 0.3f;
void adc_proc(void)
{
	for(int i=0;i<30;i++)
	{
		adc_value += adc_buffer[i];
	}
	adc_value /= 30.0f;
	adc_value = adc_value / 4096.0f * 3.3f;
}
